package com.thinkcoder;

import com.thinkcoder.config.ApplicationStartedEventListener;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


@SpringBootApplication
public class SpringBootLog4jApplication {

    public static void main(String[] args) {
        SpringApplication app = new SpringApplication(SpringBootLog4jApplication.class);
        ApplicationStartedEventListener applicationStartedEventListener = new ApplicationStartedEventListener();
        app.addListeners(applicationStartedEventListener);
        app.run(args);
    }
}
